package com.lmh.dao;

import com.lmh.pojo.Demand;
import com.lmh.pojo.ProjectType;
import com.lmh.pojo.Technical;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DemandMapper {
    List<ProjectType> projecttypequan();

    List<Technical> technicalquan();

    int demandadd(Demand demand);

    ProjectType projecttypedan(Integer projectTypeId);

    List<Demand> demandall(@Param("flag") String flag);

    List<Demand> demandlike(@Param("s") String s);

    List<Demand> demandprojecttype(@Param("prohectTypeId") Integer prohectTypeId, @Param("s") String s);

    Demand demanddan(String demandId);
}
